let people = [
  { name: "法外狂徒张三疯", age: 18, gender: "男" },
  { name: "倾国倾城张翠花", age: 16, gender: "女" },
  { name: "追风少年刘全有", age: 22, gender: "男" },
];

function getAboutValue(arr, value) {
  return arr.find((obj) => obj.name === `${value}`);
}
let result = getAboutValue(people, "倾国倾城张翠花");
console.log(result);
